package com.khyr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.khyr.entity.DictType;
import com.khyr.vo.DictTypeVo;
import com.khyr.vo.R;

import java.util.List;

/**
 * @author 宋一恒
 * @version 1.0
 */
public interface DictService {
    R<Page<DictType>> findDictTypeByCond(DictTypeVo dictTypeVo);

    R<Integer> addDictType(DictType dictType);

    R<Integer> updateDictType(DictType dictType);

    R<Integer> deleteDictTypeByIds(List<Long> ids);

    R<DictType> getDictTypeByDictTypeId(Long id);
}
